//
//  SingleVCModel.m
//  项目A --半糖
//
//  Created by romana on 16/5/20.
//  Copyright © 2016年 romana. All rights reserved.
//

#import "SingleVCModel.h"
#import "SingleSecondVCModel.h"

@implementation SingleVCModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{

}

-(void)setSubclass:(NSMutableArray *)subclass{

    _subclass = subclass;
    
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in _subclass) {
        SingleSecondVCModel *model = [[SingleSecondVCModel alloc] init];
        [model setValuesForKeysWithDictionary:dic];
        [array addObject:model];
        
    }

    _subclass = [NSMutableArray arrayWithArray:array];

}

@end
